#pragma once

class COptionDetailsFrame : public WindowImplBase
{
public:
	COptionDetailsFrame();
	~COptionDetailsFrame();
	virtual LRESULT		MessageHandler(UINT uMsg, WPARAM wParam, LPARAM lParam, bool& bHandled) override;

protected:
	virtual CDuiString	GetSkinFile() override;
	virtual LPCTSTR		GetWindowClassName(void) const override;

	virtual void		Notify(TNotifyUI& msg) override;
	virtual void		InitWindow() override;

	virtual LRESULT		OnDestroy(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled) override;
	virtual LRESULT		HandleMessage(UINT uMsg, WPARAM wParam, LPARAM lParam) override;

public:
	void SetOptionRegistryKey(LPCTSTR lpRegistryKey);
	void EnumOptions();

public:
	static const LPCTSTR	m_pClassName;

private:
	CDuiString				m_pRegistryKey;

	CTextUI*				m_textTitle;
	CButtonUI*				m_btnClose;

	CListUI*				m_pListUI;
};

